package com.pzy.base.entity;

import com.mybatisflex.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class LogicDeleteBaseEntity extends BaseEntity {
    /**
     * Column声明字段名称，isLogicDelete 逻辑删除
     */
    @Column(value = "if_deleted", isLogicDelete = true)
    @Schema(hidden = true, description = "逻辑删除. 1.表示已删除, 0.表示未删除")
    private Integer ifDeleted = 0;
}
